import SvgIcon from './SvgIcon/index.vue'
import Pagination from './Pagination/index.vue'

const allGlobalComponent = {
  SvgIcon,
  Pagination,
}

export default {
  install(app) {
    // 注册项目全部组件
    Object.keys(allGlobalComponent).forEach((k) => {
      // 注册为全局组件
      app.component(k, allGlobalComponent[k])
    })
  },
}
